(compute_char_face): If buffer is unibyte, set CH to
authorGerd Moellmann <gerd@gnu.org>
Mon, 23 Apr 2001 14:58:12 +0000 (14:58 +0000)
committerGerd Moellmann <gerd@gnu.org>
Mon, 23 Apr 2001 14:58:12 +0000 (14:58 +0000)
zero instead of -1.

src/xfaces.c

index 24f4c8406e36eb2b2d3724abee2333f83c5785f1..8433460b47fc5abf13fddbe6324fda52cd58ef8f 100644 (file)
@@ -6569,7 +6569,7 @@ compute_char_face (f, ch, prop)
   int face_id;
 
   if (NILP (current_buffer->enable_multibyte_characters))
-    ch = -1;
+    ch = 0;
 
   if (NILP (prop))
     {